package com.demo.base.security;

import com.demo.dtos.SysResource;
import com.demo.dtos.SysRole;

import java.util.Collection;

/**
 * Created by Adminis on 17/3/31.
 */
public interface SecurityService {
    Collection<SysRole> getAllRoleEntity();

    Collection<SysResource> findAllResources();

    Collection<SysRole> getRoleByResource(String resourceUuid);
}
